package com.xindacloud.sms.console.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "添加代理商DTO")
public class SaveSmsAgentDTO implements Serializable {


    /**
     *
     */
    private static final long serialVersionUID = 3237858326613994579L;

    /**
     * 主键
     * 代理商名称
     * isNullAble:0
     */
    @ApiModelProperty(value = "代理商名称", name = "agentName", notes = "代理商名称", example = "中国电信", required = true)
    private String agentName;

    /**
     * 短信通道代理商发送短信api_key
     * isNullAble:0
     */
    @ApiModelProperty(value = "短信通道代理商发送短信api_key", name = "apiKey", notes = "短信通道代理商发送短信api_key", example = "appkey1")
    private String apiKey;

    /**
     * 短信通道代理商发送短信api_secret
     * isNullAble:0
     */
    @ApiModelProperty(value = "短信通道代理商发送短信api_secret", name = "apiSecret", notes = "短信通道代理商发送短信api_secret", example = "appsecret1", required = true)
    private String apiSecret;

    /**
     * 代理商平台URL
     * isNullAble:0
     */
    @ApiModelProperty(value = "代理商平台URL", name = "apiUrl", notes = "代理商平台URL", example = "http://api.com", required = true)
    private String apiUrl;

    /**
     * 是否接受收货报告
     * isNullAble:1,defaultVal:1
     */
    @ApiModelProperty(value = "是否接受收货报告", name = "deliveryReportReq", notes = "是否接受收货报告", example = "6")
    private Boolean deliveryReportReq;

    /**
     * 短信平台向接入的应用程序推送发送报告回调地址
     * isNullAble:1
     */
    @ApiModelProperty(value = "短信平台向接入的应用程序推送发送报告回调地址", name = "callBackUrl", notes = "短信平台向接入的应用程序推送发送报告回调地址", example = "6")
    private String callBackUrl;

    /**
     * 发送者
     * isNullAble:0
     */
    @ApiModelProperty(value = "发送者", name = "senderId", notes = "发送者", example = "6", required = false)
    private String senderId;

    /**
     * 状态是否可用true可用,false不可用
     * isNullAble:1,defaultVal:1
     */
    @ApiModelProperty(value = "状态", name = "status", notes = "状态是否可用true可用,false不可用", example = "true")
    private Boolean status;


    /**
     * 代理商分组UUID
     * isNullAble:1
     */
    @ApiModelProperty(value = "代理商分组UUID", name = "groupId", notes = "代理商分组UUID", example = "1")
    private String groupId;

    /**
     * 默认通道
     * <p>
     * isNullAble:1
     */
    @ApiModelProperty(value = "用户ID", name = "isDefault", notes = "用户ID", example = "6")
    private Boolean isDefault;


}
